package com.rt.system.domain;

import com.rt.common.annotation.Excel;
import com.rt.common.core.domain.BaseEntity;

/**
 * 科目对象 rt_subject
 * 
 * @author Yg
 * @date 2022-01-05
 */
public class RtSubject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 考试类型id，关联到rt_exam_type表主键 */
    @Excel(name = "考试类型id")
    private Long examTypeId;

    /** 考试类型名称 */
    @Excel(name = "考试类型名称")
    private String examTypeName;

    /** 分类  1:基础类;  2:实务类 */
    @Excel(name = "分类", readConverterExp = "1=基础类,2=实务类")
    private Integer type;

    /** 科目编码 */
    @Excel(name = "科目编码")
    private String code;

    /** 科目名称 */
    @Excel(name = "科目名称")
    private String name;

    /** 状态，0：禁用，1：启用（默认） */
    @Excel(name = "状态", readConverterExp = "0=禁用,1=启用")
    private Integer status;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createOperator;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateOperator;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExamTypeId(Long examTypeId) 
    {
        this.examTypeId = examTypeId;
    }

    public Long getExamTypeId() 
    {
        return examTypeId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCreateOperator(String createOperator) 
    {
        this.createOperator = createOperator;
    }

    public String getCreateOperator() 
    {
        return createOperator;
    }
    public void setUpdateOperator(String updateOperator) 
    {
        this.updateOperator = updateOperator;
    }

    public String getUpdateOperator() 
    {
        return updateOperator;
    }

    public String getExamTypeName() {
        return examTypeName;
    }

    public void setExamTypeName(String examTypeName) {
        this.examTypeName = examTypeName;
    }

    @Override
    public String toString() {
        return "RtSubject{" +
                "id=" + id +
                ", examTypeId=" + examTypeId +
                ", type=" + type +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", status=" + status +
                ", createOperator='" + createOperator + '\'' +
                ", updateOperator='" + updateOperator + '\'' +
                '}';
    }
}
